﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace DTO
{
    public class CaDTO
    {
        public enum ShiftE
        {
            X = 1,
            S = 2,
            C = 3,
            H = 4,
            Tvs = 5,
            Tvc = 6,
            C12 = 8,
            C1=9,
            C2=10,
            Sa=11,
            Sa2=12,

            Default = -1
        }

        private int _shiffID;
        private string _shiffName;
        private string _shiffCode;
        private string _englishName;
        private DateTime _startTime;
        private DateTime _endTime;
        private bool _isLate;
        private int _lateMinutes;
        private bool _isEarly;
        private int _earlyMinutes;
        private bool _checkIn;
        private bool _chectOut;
        private DateTime _checkInTimeFrom;
        private DateTime _checkInTimeTo;
        private DateTime _checkOutTimeFrom;
        private DateTime _checkOutTimeTo;
        private Decimal _workday;
        private Decimal _workDayHalf;
        private int _fromMinute;
        private int _toMinutes;
        private int _fromMinutesHalf;
        private int _toMinutesHalf;
        private int _workMinutes;
        private int _color;
        private DateTime _mealTimeFrom;
        private DateTime _mealTimeTo;
        private int _totalMealTime;
        private bool _isAddTimeIn;
        private bool _isAddTimeOut;
        private int _minOverTime;
        private bool _usedOverTime;
        private int _maxOverTime;
        private int _mealOverTime;
        private bool _isOverTime;
        private bool _checkInInDay;
        private bool _checkOutInDay;
        public int ShiffID
        {
            get { return _shiffID; }
            set { _shiffID = value; }
        }
        public string ShiffName
        {
            get { return _shiffName; }
            set { _shiffName = value; }
        }
        public string ShiffCode
        {
            get { return _shiffCode; }
            set { _shiffCode = value; }
        }
        public string EnglishName
        {
            get { return _englishName; }
            set { _englishName = value; }
        }
        public DateTime StartTime
        {
            get { return _startTime; }
            set { _startTime = value; }
        }
        public DateTime EndTime
        {
            get { return _endTime; }
            set { _endTime = value; }
        }
        public bool IsLate
        {
            get { return _isLate; }
            set { _isLate = value; }
        }
        public int LateMinutes
        {
            get { return _lateMinutes; }
            set { _lateMinutes = value; }
        }
        public bool IsEarly
        {
            get { return _isEarly; }
            set { _isEarly = value; }
        }
        public int EarlyMinutes
        {
            get { return _earlyMinutes; }
            set { _earlyMinutes = value; }
        }
        public bool CheckIn
        {
            get { return _checkIn; }
            set { _checkIn = value; }
        }
        public bool ChectOut
        {
            get { return _chectOut; }
            set { _chectOut = value; }
        }
        public DateTime CheckInTimeFrom
        {
            get { return _checkInTimeFrom; }
            set { _checkInTimeFrom = value; }
        }
        public DateTime CheckInTimeTo
        {
            get { return _checkInTimeTo; }
            set { _checkInTimeTo = value; }
        }
        public DateTime CheckOutTimeFrom
        {
            get { return _checkOutTimeFrom; }
            set { _checkOutTimeFrom = value; }
        }
        public DateTime CheckOutTimeTo
        {
            get { return _checkOutTimeTo; }
            set { _checkOutTimeTo = value; }
        }
        public Decimal Workday
        {
            get { return _workday; }
            set { _workday = value; }
        }
        public Decimal WorkDayHalf
        {
            get { return _workDayHalf; }
            set { _workDayHalf = value; }
        }
        public int FromMinute
        {
            get { return _fromMinute; }
            set { _fromMinute = value; }
        }
        public int ToMinutes
        {
            get { return _toMinutes; }
            set { _toMinutes = value; }
        }
        public int FromMinutesHalf
        {
            get { return _fromMinutesHalf; }
            set { _fromMinutesHalf = value; }
        }

        public int ToMinutesHalf
        {
            get { return _toMinutesHalf; }
            set { _toMinutesHalf = value; }
        }
        public int WorkMinutes
        {
            get { return _workMinutes; }
            set { _workMinutes = value; }
        }
        public int Color
        {
            get { return _color; }
            set { _color = value; }
        }
        public DateTime MealTimeFrom
        {
            get { return _mealTimeFrom; }
            set { _mealTimeFrom = value; }
        }
        public DateTime MealTimeTo
        {
            get { return _mealTimeTo; }
            set { _mealTimeTo = value; }
        }
        public int TotalMealTime
        {
            get { return _totalMealTime; }
            set { _totalMealTime = value; }
        }
        public bool IsAddTimeIn
        {
            get { return _isAddTimeIn; }
            set { _isAddTimeIn = value; }
        }
        public bool IsAddTimeOut
        {
            get { return _isAddTimeOut; }
            set { _isAddTimeOut = value; }
        }
        public int MinOverTime
        {
            get { return _minOverTime; }
            set { _minOverTime = value; }
        }
        public bool UsedOverTime
        {
            get { return _usedOverTime; }
            set { _usedOverTime = value; }
        }
        public int MaxOverTime
        {
            get { return _maxOverTime; }
            set { _maxOverTime = value; }
        }
        public int MealOverTime
        {
            get { return _mealOverTime; }
            set { _mealOverTime = value; }
        }
        public bool IsOverTime
        {
            get { return _isOverTime; }
            set { _isOverTime = value; }
        }
        public bool CheckInInDay
        {
            get { return _checkInInDay; }
            set { _checkInInDay = value; }
        }
        public bool CheckOutInDay
        {
            get { return _checkOutInDay; }
            set { _checkOutInDay = value; }
        }
        
        //de mo
        private int id;
        private String str;
        public int _id
        {
            get { return id; }
            set { id = value; }
        }
        public string _str
        {
            get { return str; }
            set { str = value; }
        }
    }
}
